package vip.xiaonuo.supplier.modular.custom.customtype.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.supplier.modular.custom.customtype.entity.SupplierCustomType;
import vip.xiaonuo.supplier.modular.custom.customtype.param.SupplierCustomTypeAddParam;
import vip.xiaonuo.supplier.modular.custom.customtype.param.SupplierCustomTypeEditParam;
import vip.xiaonuo.supplier.modular.custom.customtype.param.SupplierCustomTypeIdParam;
import vip.xiaonuo.supplier.modular.custom.customtype.param.SupplierCustomTypePageParam;

import java.util.List;

/**
 * 客户类型Service接口
 *
 * @author Mr.wu
 * @date  2025/03/15 17:38
 **/
public interface SupplierCustomTypeService extends IService<SupplierCustomType> {

    /**
     * 获取客户类型分页
     *
     * @author Mr.wu
     * @date  2025/03/15 17:38
     */
    Page<SupplierCustomType> page(SupplierCustomTypePageParam supplierCustomTypePageParam);

    /**
     * 添加客户类型
     *
     * @author Mr.wu
     * @date  2025/03/15 17:38
     */
    void add(SupplierCustomTypeAddParam supplierCustomTypeAddParam);

    /**
     * 编辑客户类型
     *
     * @author Mr.wu
     * @date  2025/03/15 17:38
     */
    void edit(SupplierCustomTypeEditParam supplierCustomTypeEditParam);

    /**
     * 删除客户类型
     *
     * @author Mr.wu
     * @date  2025/03/15 17:38
     */
    void delete(List<SupplierCustomTypeIdParam> supplierCustomTypeIdParamList);

    /**
     * 获取客户类型详情
     *
     * @author Mr.wu
     * @date  2025/03/15 17:38
     */
    SupplierCustomType detail(SupplierCustomTypeIdParam supplierCustomTypeIdParam);

    /**
     * 获取客户类型详情
     *
     * @author Mr.wu
     * @date  2025/03/15 17:38
     **/
    SupplierCustomType queryEntity(String id);

    /**
     * 获取客户类型列表
     *
     * @author Mr.wu
     * @date  2024/10/23 20:57
     **/
    List<SupplierCustomType> customTypelist();
}
